seaborn plot histogram for all columns

40

sns.distplot(gapminder['lifeExp'], kde=False, color='red', bins=100)
plt.title('Life Expectancy', fontsize=18)
plt.xlabel('Life Exp (years)', fontsize=16)
plt.ylabel('Frequency', fontsize=16)
df.plot.hist(subplots=True, legend=True, layout=(1, 3))

Comments

Submit
0 Comments